package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.completeRFCPanel.completeRFCSubs.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.completeRFCPanel.CompleteRFCPanel;

public class CancelCompletePanelActionListener implements ActionListener{
	
	private CompleteRFCPanel completeRFCPanel;
	
	public CancelCompletePanelActionListener(CompleteRFCPanel completeRFCPanel){
		this.completeRFCPanel = completeRFCPanel;
	}

	@Override
	public void actionPerformed(ActionEvent e) {

		completeRFCPanel.getListPanel().removeAllComponets();
	}

}
